<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Created_at')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-created_at" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[created_at]" type="text" value="{$row.created_at}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Created_by')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-created_by" class="form-control" name="row[created_by]" type="number" value="{$row.created_by|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Updated_at')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-updated_at" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[updated_at]" type="text" value="{$row.updated_at}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Updated_by')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-updated_by" class="form-control" name="row[updated_by]" type="number" value="{$row.updated_by|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('State')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-state" data-rule="required" class="form-control" name="row[state]" type="text" value="{$row.state|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Share_level')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-share_level" data-rule="required" class="form-control" name="row[share_level]" type="text" value="{$row.share_level|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ftt_level')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ftt_level" data-rule="required" class="form-control" name="row[ftt_level]" type="text" value="{$row.ftt_level|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cellphone')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cellphone" data-rule="required" class="form-control" name="row[cellphone]" type="text" value="{$row.cellphone|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Referral_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-referral_code" data-rule="required" class="form-control" name="row[referral_code]" type="text" value="{$row.referral_code|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Referral_parent_user_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-referral_parent_user_id" data-rule="required" data-source="referral/parent/user/index" class="form-control selectpage" name="row[referral_parent_user_id]" type="text" value="{$row.referral_parent_user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Referral_parent_user_id_path')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-referral_parent_user_id_path" data-rule="required" class="form-control" name="row[referral_parent_user_id_path]" type="text" value="{$row.referral_parent_user_id_path|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Parent_user_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-parent_user_id" data-rule="required" data-source="parent/user/index" class="form-control selectpage" name="row[parent_user_id]" type="text" value="{$row.parent_user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Parent_user_id_path')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-parent_user_id_path" data-rule="required" class="form-control" name="row[parent_user_id_path]" type="text" value="{$row.parent_user_id_path|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Memo')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-memo" class="form-control" name="row[memo]" type="text" value="{$row.memo|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Idname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-idname" data-rule="required" class="form-control" name="row[idname]" type="text" value="{$row.idname|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cardz_state')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cardz_state" data-rule="required" class="form-control" name="row[cardz_state]" type="text" value="{$row.cardz_state|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cardz_cellphone')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cardz_cellphone" class="form-control" name="row[cardz_cellphone]" type="text" value="{$row.cardz_cellphone|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
